package com.hotel.common.pojo;

import org.springframework.stereotype.Component;

@Component
public class Order {
	private String id;
	private String roomType;
	private String userId;
	private String arriveTime;
	private String leaveTime;
	private Integer state;
	private String  phone;

	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRoomType() {
		return roomType;
	}
	public String setRoomType(String roomType) {
		return this.roomType = roomType;
		
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getArriveTime() {
		return arriveTime;
	}
	public void setArriveTime(String arriveTime) {
		this.arriveTime = arriveTime;
	}
	public String getLeaveTime() {
		return leaveTime;
	}
	public void setLeaveTime(String leaveTime) {
		this.leaveTime = leaveTime;
	}
	
	public Order() {
	}

	public Order(String id, String roomType, String userId, String arriveTime, String leaveTime, Integer state,
			String phone) {
		super();
		this.id = id;
		this.roomType = roomType;
		this.userId = userId;
		this.arriveTime = arriveTime;
		this.leaveTime = leaveTime;
		this.state = state;
		this.phone = phone;
	}
	@Override
	public String toString() {
		return "Order [id=" + id + ", roomType=" + roomType + ", userId=" + userId + ", arriveTime=" + arriveTime
				+ ", leaveTime=" + leaveTime + ", state=" + state + ", phone=" + phone + "]";
	}
	
	
	
}
